package cn.edu.csmzxy.rk233x.auth_system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.edu.csmzxy.rk233x.auth_system.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author wumxing
 * @date 2025/10/15 9:48
 * @description
 */
@Mapper  // 必须添加：标记为MyBatis Mapper接口
public interface SysUserMapper extends BaseMapper<SysUser> {
    // 扩展方法：根据用户名查询用户（登录认证用）
    SysUser selectByUsername(String username);
}